package com.jinlia.show.modules.base.system.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jinlia.show.common.core.entity.BaseEntity;
import com.jinlia.show.modules.base.config.DynamicSchemaConfig;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 会员卡余额池:
 * 记录系统中剩余余额，总充值余额,和赠与余额
 */
@Data
@TableName(value = "erp_member_card_balance_pool", schema = DynamicSchemaConfig.schema_system)
public class MemberCardBalancePool{
    @TableId()
    private Long id;

    /**
     * 实际充值金额合计
     */
    private BigDecimal actualRechargeSum;
    /**
     * 充值赠送
     */
    private BigDecimal giftRechargeSum;
    /**
     * 剩余可用金额合计
     */
    private BigDecimal availableBalanceSum;
}
